'''
Created on Apr 4, 2012

@author: Vu Dao
'''
from selenium import webdriver
from Interface.administratorPage import xpathOfLesson, xpathCategories


# click on lessons button
def clickOnBtnLessons(self):
    browser = self.browser
    elem = browser.find_element_by_xpath(xpathOfLesson())
    elem.click()
    browser.implicitly_wait(60)
    
# click on Categories button
def clickOnBtnCategories(self):
    browser = self.browser
    elem = browser.find_element_by_xpath(xpathCategories())
    elem.click()
    browser.implicitly_wait(60)